package com.powerband.apiheartrate.ble.bleCommand

class PYBleCommand(
    var cmdEnum: Int = 0,
    var sendNo:Int = 0,
    var sendTime:Long = 0L,
    var cmdId:Int = 0,
    var cmdSort:Int = 0,
    var delayTime:Int = 500,
    var serviceUuid:String = "",
    var charUuid:String = "",
    var cmdType: PYBleCommandType = PYBleCommandType.BleCmdTypeWrite,
    var cmdValue: Any? = null,
) {
    fun copyBleCommand(bleCommand: PYBleCommand) {
        bleCommand.cmdId = cmdId
        bleCommand.cmdSort = cmdSort
        bleCommand.cmdType = cmdType
        bleCommand.cmdValue = cmdValue
        bleCommand.serviceUuid = serviceUuid
        bleCommand.charUuid = charUuid
    }
}